import prompt from '@system.prompt';


export default {
    data: {
        title: 'World',
        row:new Array(9),
        chessboardValue:new Array(),
        chessBoard:null,
    },

    onInit(){
        for (var index = 0; index < 9; index++) {
            this.row[index]=index;
        }
    },

    selectItem(value){
        console.log("ssssssssssssssssss")

        console.log(value)

    },

    setChessBoardValue(boardSet1,boardSet2){
        console.log(boardSet1)
        var id=boardSet1+'_'+boardSet2;
        console.log(id)
        this.chessBoard=this.$element(id);
//        this.chessBoard=this.$refs.chessBoard

        console.log(this.text)
        console.log(this.content)


        console.log("fffffffffffff")

    }

}
